package com.unicom.office.node;

import com.unicom.office.func.FuncCommon;
import com.unicom.office.type.PictureTypeItem;
import com.unicom.office.type.TypeItem;
import com.unicom.office.func.FuncBase;
import com.unicom.office.unit.OfficeUnit;
import com.unicom.office.unit.PictureUnit;

public class PictureNode extends OfficeNode {
    public PictureNode(Object source) {
        super(source);
    }

    public OfficeUnit createUnit() {
        return new PictureUnit();
    }

    public boolean testChildType(FuncCommon child) {
        return false;
    }

    public TypeItem getType() {
        return PictureTypeItem.INSTANCE;
    }
}
